home *** CD-ROM | disk | FTP | other *** search
- RUN
-
- Executes commands as background processes.
-
- Format
-
- RUN <command...> [{+ <command>}]
-
- Template
-
- COMMAND/F
-
- Location
-
- Internal
-
- RUN is used to start background processes. A background process does not open
- its own window for input or output and does not take over the parent Shell.
-
- RUN attempts to execute the <command> and any arguments entered on the
- command line. You can RUN multiple command lines by separating them with plus
- signs (+). If you press Return after a plus sign, RUN interprets the next
- line as a continuation of the same command line.
-
- To make it possible to close the Shell window in which the process was
- started, redirect the output of RUN with RUN >NIL: <command>.
-
- A new background Shell has the same search path and command stack size as the
- Shell from which RUN is given.
-
- You can RUN commands stored to the resident list. Resident commands are
- checked before commands in the command path. A Shell started with RUN
- NEWSHELL uses the default startup file, S:Shell-startup.
-
- Example 1:
-
- 1> RUN COPY Text TO PRT:+
- DELETE Text +
- ECHO "Printing finished"
-
- prints the Text file by copying it to the printer device, deletes it, then
- displays the given message. Plus signs string together the command lines,
- causing each command to be run after the previous command finishes.
-
- Example 2:
-
- 1> RUN EXECUTE Comseq
-
- executes, in the background, all the commands in the script file Comseq.
-
- For more examples using the RUN command, see Chapter 8.
-